package com.kaili.basic.pojo.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * Created by xxx on 2019-03-07.
 */
@Data
public class WarehousingApplicationAddDto {
    @ApiModelProperty(name = "requestCode", value = "申请单号")
    private String requestCode;

    @ApiModelProperty(name = "supplierNo", value = "供应商单号")
    private String supplierNo;

    @ApiModelProperty(name = "documentationDate", value = "制单日期 yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern ="yyyy-MM-dd HH:mm:ss")
    private Date documentationDate;

    @ApiModelProperty(name = "preparedBy", value = "制单人")
    private String preparedBy;

    @ApiModelProperty(name = "supplierId", value = "供应商id")
    private Long supplierId;

    @ApiModelProperty(name = "linkman", value = "联系人")
    private String linkman;

    @ApiModelProperty(name = "mailbox", value = "邮箱")
    private String mailbox;

    @ApiModelProperty(name = "phone", value = "电话")
    private String phone;

    @ApiModelProperty(name = "deliveryDate", value = "到货日期 yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern ="yyyy-MM-dd HH:mm:ss")
    private Date deliveryDate;

    @ApiModelProperty(name = "declarationNumber", value = "报关单号")
    private String declarationNumber;

    @ApiModelProperty(name = "containerNo", value = "集装箱号")
    private String containerNo;

    @ApiModelProperty(name = "agencyCommission", value = "代理费用")
    private Double agencyCommission;

    @ApiModelProperty(name = "remark", value = "备注")
    private String remark;

    @ApiModelProperty(name = "warehousingProductList", value = "入库产品")
    private List<WarehousingProductDto> warehousingProductList;
}
